// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/lib'
import axios from 'axios'
// 使用vue-fullpage
import 'fullpage.js/vendors/scrolloverflow' 
import VueFullPage from 'vue-fullpage.js'
// import ElementUI from 'element-ui'
import { Message, MessageBox, Input, Button, Select, Option, Cascader, Autocomplete  } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(VueFullPage)
// Vue.use(ElementUI)
Vue.use(Input)
Vue.use(Button)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Autocomplete)
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$message = Message
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$confirm = MessageBox.confirm

Vue.config.productionTip = false
Vue.prototype.axios = axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
